package com.shyroke.daydayzhuansvc.service;

import com.shyroke.daydayzhuanapi.dto.AppDto;
import com.shyroke.daydayzhuanapi.dto.AppSearchRequest;
import com.shyroke.daydayzhuanapi.entity.AppEntity;
import com.shyroke.daydayzhuansvc.util.Page;
import com.shyroke.daydayzhuansvc.util.TabelData;

import java.util.List;

public interface IAppService {
    TabelData<AppDto> getProjectInvateList(Page page, AppSearchRequest request);

    List<AppDto> findAll();

    void save(AppDto app);

    AppDto findById(Integer appId);

    void update(AppDto app);

    List<AppDto> findByTop(int i, boolean isShowLable);

    List<AppDto> findByCreateTime(int i,boolean isShowLable);
}
